package com.common.exception;



/**
 * @author 郭芸锋
 * 枚举
 */

public enum BizCode {

    UNKNOW_EXCEPTION(10000,"系统未知异常"),
    VALID_EXCRPTION(10001,"参数格式检验失败");

    private int code;
    private String msg;
    BizCode(int code,String msg) {
        this.code=code;
        this.msg=msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
